package sixth.group.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import sixth.group.domain.Administrator;
import sixth.group.domain.AdministratorExample;

public interface AdministratorMapper {

    //写两个mapper方法,删除无实体类的表cus_res_match中的表项
    int deleteByWyxrrestaurantid(Integer c_rrestaurantid);

    int deleteBYWyxrcustomerid(Integer c_rcustomerid);

    int deleteBYWyxdorderid(Integer o_dorderid);

    long countByExample(AdministratorExample example);

    int deleteByExample(AdministratorExample example);

    int deleteByPrimaryKey(Integer aid);

    int insert(Administrator record);

    int insertSelective(Administrator record);

    List<Administrator> selectByExample(AdministratorExample example);

    Administrator selectByPrimaryKey(Integer aid);

    int updateByExampleSelective(@Param("record") Administrator record, @Param("example") AdministratorExample example);

    int updateByExample(@Param("record") Administrator record, @Param("example") AdministratorExample example);

    int updateByPrimaryKeySelective(Administrator record);

    int updateByPrimaryKey(Administrator record);
}